<title>消息详情</title>

<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a lay-href="app/message/">消息中心</a>
        <a><cite>详情</cite></a>
    </div>
</div>

<div class="layui-fluid" id="LAY-app-message-detail">
    <div class="layui-card layuiAdmin-msg-detail">
        <div lay-url="./json/message/detail.js?id={{ layui.router().search.id }}" template>
            <div class="layui-card-header">
                <h1>{{ d.data.title }}</h1>
                <p>
                    <span>{{ layui.util.timeAgo(d.data.time) }}</span>
                </p>
            </div>
            <div class="layui-card-body layui-text">
                <div class="layadmin-text">
                    {{ d.data.content }}
                </div>

                <div style="padding-top: 30px;">
                    <a class="layui-btn layui-btn-primary layui-btn-sm" lay-href="app/message/">返回上级</a>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    layui.use(['admin'], function () {
        var $ = layui.$
            , admin = layui.admin
            , table = layui.table
            , element = layui.element;


    });
</script>